package com.cuit.riskassessment.vo;

import com.cuit.riskassessment.util.ArrayAndString;

/**
 * 记录Ra中各参数的信息
 * @author Yang_Zhiqin-pc
 *
 */
public class RaParam {

	private Integer id;
	/** 建筑物类型 ： 1规则建筑物 	0:不规则建筑物*/
	private Integer adRadio;
	/** 不规则建筑物要输入的 建筑物长度*/
	private Double  l;
	/** 不规则建筑物要输入的 建筑物宽度*/
	private Double  w;
	/** 建筑物要输入的 建筑物高度*/
	private Double  h ;
	/** Ra 中的截面积ad*/
	private Double  ad;
	/** 用于计算Rm中的截面积am*/
	private Double  am;
	/** Ra中的位置因子 cd*/
	private Double  cd;
	/** 雷击导致人畜的概率Pa*/
	private double pa[];
	/** 不同土壤的缩减因子 ra*/
	private Double ra;
	/** lt的类型： 1确定nt np tp   0：不确定*/
	private int lt0;
	/** combo 中的 lt 的值*/
	private Double lt;
	/** Ra 中计算出来的nd*/
	private Double nd;
	/** Ra 的最终结果值*/
	private Double raResult;
	/** 可能受伤的人数*/
	private Integer np;
	/** 预期的总人数*/
	private Integer nt;
	/** 处于危险期间的总人数*/
	private Double tp;
	/** 将 pa转换成字符串存储*/
	private String  temp;
	/** 区域中的雷暴日数*/
	private double td ;
	
	
	
	
	public double getTd() {
		return td;
	}
	public void setTd(double td) {
		this.td = td;
	}
	private Integer projid;
	
	public Integer getProjid() {
		return projid;
	}
	public void setProjid(Integer projid) {
		this.projid = projid;
	}
	public double[] getPa() {
		return ArrayAndString.StringToArray(this.temp);
	}
	public void setPa(double[] pa) {
		this.pa = pa;
	}
	
	public String getTemp() {
		return ArrayAndString.ArrayToString(this.pa);
	}
	
	public void setTemp(String temp) {
		this.temp = temp;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAdRadio() {
		return adRadio;
	}
	public void setAdRadio(Integer adRadio) {
		this.adRadio = adRadio;
	}
	public Double getL() {
		return l;
	}
	public void setL(Double l) {
		this.l = l;
	}
	public Double getW() {
		return w;
	}
	public void setW(Double w) {
		this.w = w;
	}
	public Double getH() {
		return h;
	}
	public void setH(Double h) {
		this.h = h;
	}
	public Double getAd() {
		return ad;
	}
	public void setAd(Double ad) {
		this.ad = ad;
	}
	public Double getAm() {
		return am;
	}
	public void setAm(Double am) {
		this.am = am;
	}
	public Double getCd() {
		return cd;
	}
	public void setCd(Double cd) {
		this.cd = cd;
	}
	public Double getRa() {
		return ra;
	}
	public void setRa(Double ra) {
		this.ra = ra;
	}
	public int getLt0() {
		return lt0;
	}
	public void setLt0(int lt0) {
		this.lt0 = lt0;
	}
	public Double getLt() {
		return lt;
	}
	public void setLt(Double lt) {
		this.lt = lt;
	}
	public Double getNd() {
		return nd;
	}
	public void setNd(Double nd) {
		this.nd = nd;
	}
	public Double getRaResult() {
		return raResult;
	}
	public void setRaResult(Double raResult) {
		this.raResult = raResult;
	}
	public Integer getNp() {
		return np;
	}
	public void setNp(Integer np) {
		this.np = np;
	}
	public Integer getNt() {
		return nt;
	}
	public void setNt(Integer nt) {
		this.nt = nt;
	}
	public Double getTp() {
		return tp;
	}
	public void setTp(Double tp) {
		this.tp = tp;
	}
	
	
	
}
